﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExampleImplementation
{
    public interface IPos
    {
        String Symbol { get; }
        String Trader { get; }
        int Qty { get; }
    }

    public interface IMD
    {
        String Symbol { get; }
        double Price { get; }
    }

    public class Pos : IPos
    {
        public Pos( string symbol, string trader, int quantity ) {
            Symbol = symbol;
            Trader = trader;
            Qty = quantity;
        }

        public string Symbol { get; private set; }
        public string Trader { get; private set; }
        public int Qty { get; private set; }

    }
    public class MD : IMD
    {
        public string Symbol { get; private set; }
        public double Price { get; private set; }
    }
}
